package com.purple;

import com.pink.RobotEx;

import java.awt.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.SynchronousQueue;

public class ClientS {
    public static void main(String[] args) throws AWTException {

        RobotEx robot = new RobotEx();
        LogAppender appender = new ScreenLogAppender();
//        LogAppender appender = new FileLogAppender(FileLogAppender.SUGGESTFILE);
//        new SynchronousQueue<ColorPoint>()
        SynchronousQueue<CPSignal> feedbackQueue = new SynchronousQueue<>();
        ExecutorService armLost = Executors.newSingleThreadExecutor();
        Blind blind = new Blind(robot , appender ,armLost,feedbackQueue);
        blind.testmethod();


    }
}
